﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Bottom.aspx.cs" Inherits="Bottom" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <link rel="Stylesheet" type="text/css" href="Styles/Site.css" />

    <script type="text/javascript" src="Scripts/jquery.ui/js/jquery.js"></script>

    <script type="text/javascript">
        $(function () {
            var date = new Date();
            $("#endYear").text(date.getFullYear());
        });

        //用javascript进行声音播放控制
        var msgCount = 0;
        var mailCount = 0;
        function msgPlay(count) {
            if (msgCount != count) {
                document.getElementById("soundControl").play();
                msgCount = count;
            }
        }

        function mailPlay(count) {
            if (mailCount != count) {
                document.getElementById("soundControl").play();
                mailCount = count;
            }
        }  
    </script>
</head>
<body>
<form runat="server">
 
 <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div class="bottom">
              <div class="bottom_left">
              短 信<a href="<%=msg_url %>" target="right"><asp:Image ID="AwokeImage" 
                      runat="server" ImageAlign="AbsMiddle"
                                            ImageUrl="~/images/awoke.gif" ToolTip="查看新消息" 
                      Visible="false" /></a>
              &nbsp; | &nbsp;
              邮件<a href="<%=email_url %>" target="right"><asp:Image ID="AwokeImage2" 
                      runat="server" ImageAlign="AbsMiddle" ImageUrl="~/images/email-awoke.gif" ToolTip="查看新邮件"
                                                Visible="false" /></a>
              &nbsp; |&nbsp; 
              工 作<a href="<%=workflow_url %>" target="right"><asp:Image ID="AwokeImage3" 
                      runat="server" ImageAlign="AbsMiddle"
                                            ImageUrl="~/images/workflow_woke.gif" 
                      ToolTip="查看新工作" Visible="false" /></a>
             </div>
              <div class="bottom_right">技术支持 - <a href="http://www.tarre.cn" style="color:White" target="_blank">沈阳塔联网络传媒有限公司</a></div>
              <div class="clear"></div>
         </div>
         <asp:Timer ID="AwokeTimer" runat="server" Interval="1000" OnTick="AwokeTimer_Tick"></asp:Timer>
    </ContentTemplate>
</asp:UpdatePanel>

<embed id="soundControl" src="message_invoke.mp3" style="display: none" autostart="false"></embed>
</form>
</body>
</html>
